package com.example.library.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2022-04-11 09:04:30
 */
@Data
public class User implements Serializable {
    private static final long serialVersionUID = 796934928654424317L;
    /**
    * 用户id
    */
    private Integer userId;
    /**
    * 用户名称
    */
    private String userName;
    /**
    * 用户密码
    */
    private String userPassword;
    /**
    * 用户邮箱（用户账号）
    */
    private String userEmail;
    /**
    * 用户角色（ADMIN：管理员，USER：普通用户）
    */
    private String userRole;
    /**
    * 用户状态（0：正常，1：禁用）
    */
    private String userStatus;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

}